This tool will generate cleo scripts for you

Those scripts have been tested by me and work fine

-UltraScripter.